package com.hupu.jrs.ui.thread.collect

import com.hupu.jrs.ui.BasePresenter
import com.hupu.jrs.ui.BaseView

/**
 * Created by sll on 2016/5/11.
 */
interface CollectThreadListContract {
    interface View : BaseView {

        fun showLoading()

        fun hideLoading()

        fun renderThreads(threads: MutableList<Thread>)

        fun onError(error: String)

        fun onEmpty()

        fun onLoadCompleted(hasMore: Boolean)

        fun onRefreshCompleted()
    }

    interface Presenter : BasePresenter<View> {
        fun onThreadReceive()

        fun onRefresh()

        fun onReload()

        fun onLoadMore()
    }
}
